package com.wavehi.stack;

import com.sun.org.apache.xerces.internal.dom.PSVIAttrNSImpl;

/**
 * @Author WaveHi
 * @Date 9/10/2021 下午 7:49
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description Demonstrate the condition of stack runtime according to specified size.
 */
public class StackSpecifiedSizeDemo {
    private static int count  = 0;

    public static void main(String[] args) {
        //Size: -Xss256k
        count++;
        System.out.println(count);//4943
        main(args);
    }
}
